package com.gtq.uhome.service;


import com.gtq.uhome.vo.*;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;


@Component
public interface MyUhomeService {



    //更改收货人信息
    Integer update(UpdateConsigneeVo updateConsignee);


    //用户查看订单状态
    List<DeliveryOrderStatusVo> selectOrderSatus(SignInStatusVo signInStatus);


    //用户端,我的申请
    List<MyApplicationVo> selectMyApplication(ConditionQueryVo conditionQuery);


    //配送员查看订单状态
    //收货人信息
    List<ShippingOrderVo> selectShippingOrder(String courierId, String orderStatus);
    //订单信息生鲜
    Map<String, Object> selectShippingOrdersFresh(String orderId, String orderStatus);
    //订单信息常温
    Map<String, Object> selectShippingOrdersTemperature(String orderId, String orderStatus);

    //修改订单是否完成
    Integer updateOrderState(SignInStatusVo signInStatus);


    //生成订单完成时间
    Integer updateOrderTime(SignInStatusVo signInStatus);
        //更改订单的状态
    Integer updateOrder(SignInStatusVo signInStatus);

    //订单退回
    Integer updateOrderBack(SignInStatusVo signInStatus);

    // 消息插入
    Integer insertMsg(SignInStatusVo signInStatus);

}
